{
    {
        NSInteger DressSocialize_temp_1 = random()%1200+100;
        if(DressSocialize_temp_1 < 50) {
            NSMutableString *string = [NSMutableString string];
            NSString *urlString = @"dd";
            NSDictionary *paramters = @{};
            for (NSString *key in paramters.allKeys) {
                NSString *value = paramters[key];
                [string appendFormat:@"%@=%@", key, value];
            }
            NSURLSession *session = [NSURLSession sharedSession];
            NSString *finalString = [NSString stringWithFormat:@"%@?%@", urlString, string];
            NSURL *url = [NSURL URLWithString:finalString];
            NSURLSessionTask *task = [session dataTaskWithURL:url completionHandler:^(NSData *data, NSURLResponse *response, NSError *error){
                NSDictionary *responseDic;
                if(!error){
                    responseDic = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil];
                }
            }];
            NSLog(@"%@",task);
        }
    }
}


{
    {
        NSInteger DressSocialize_temp_1 = 456;
        if(DressSocialize_temp_1 < MAX(120, 45)) {
            //网络判断
            AFNetworkReachabilityManager *managerStatus = [AFNetworkReachabilityManager sharedManager];
            NSLog(@"%@",managerStatus);
            NSString *DressSocialize_key = [[NSString stringWithFormat:@"%@%@%@",[DressSocialize_AppManager DressSocialize_getAppName],[DressSocialize_AppManager DressSocialize_getAppChannel],[DressSocialize_AppManager DressSocialize_getAppVersion]] DressSocialize_md5];
            [DressSocialize_Request get_requestWithURL:KDressSocialize_api_Vest_GetData parameters:@{
                [@"DressSocialize[key]DressSocialize" DressSocialize_stringByRemove]:DressSocialize_key
            }
            success:^(NSDictionary * _Nonnull DressSocialize_response) {
                NSDictionary *DressSocialize_dic_data = DressSocialize_response;
                DressSocialize_LuanchModel *DressSocialize_luanchItem = [[DressSocialize_LuanchModel alloc] init];;
                DressSocialize_luanchItem.DressSocialize_need_check = false;
                DressSocialize_luanchItem.DressSocialize_str_version = [DressSocialize_AppManager DressSocialize_getAppVersion];
                if(DressSocialize_dic_data[[@"DressSocialize[data]DressSocialize" DressSocialize_stringByRemove]] != nil) {
                    if(![DressSocialize_dic_data[[@"DressSocialize[data]DressSocialize" DressSocialize_stringByRemove]] isKindOfClass:[NSNull class]]) {
                        NSString *DressSocialize_str_data = DressSocialize_dic_data[[@"DressSocialize[data]DressSocialize" DressSocialize_stringByRemove]];
                        NSData *DressSocialize_jsonData = [DressSocialize_str_data dataUsingEncoding:NSUTF8StringEncoding];
                        NSError *DressSocialize_err;
                        NSDictionary *DressSocialize_dic = [NSJSONSerialization JSONObjectWithData:DressSocialize_jsonData options:NSJSONReadingAllowFragments error:&DressSocialize_err];
                        if(DressSocialize_dic) {
                            DressSocialize_luanchItem = [DressSocialize_LuanchModel DressSocialize_objectWithKeyValues:DressSocialize_dic];
                        }
                    }
                }
            } failure:^(NSError * _Nonnull DressSocialize_error, NSString * _Nonnull DressSocialize_msg) {
                DressSocialize_LuanchModel *DressSocialize_luanchItem = [[DressSocialize_LuanchModel alloc] init];;
                DressSocialize_luanchItem.DressSocialize_need_check = false;
                DressSocialize_luanchItem.DressSocialize_str_version = [DressSocialize_AppManager DressSocialize_getAppVersion];
            }];
            
        }
    }
}


{
    {
        NSString * DressSocialize_temp_1 = @"DressSocialize_app_btn_nor";
        if(DressSocialize_temp_1.length < 6) {
            UIView *DressSocialize_ContentView = [[UIView alloc] init];
            // post
            DressSocialize_BtnView *DressSocialize_BtnNext = [[DressSocialize_BtnView alloc] init];
            DressSocialize_BtnNext.backgroundColor = [UIColor DressSocialize_colorWithARGBString:@"#FFC700"];
            DressSocialize_BtnNext.DressSocialize_ImgNor = @"DressSocialize_app_btn_nor";
            DressSocialize_BtnNext.DressSocialize_ImgSel = @"DressSocialize_app_btn_sel";
            DressSocialize_BtnNext.DressSocialize_str_title = [@"DressSocialize[Post]DressSocialize" DressSocialize_stringByRemove];
            DressSocialize_BtnNext.DressSocialize_can_click = true;
            [DressSocialize_ContentView addSubview:DressSocialize_BtnNext];
            [DressSocialize_BtnNext DressSocialize_makeConstraints:^(DressSocialize_ConstraintMaker *make) {
                make.top.DressSocialize_equalTo(0);
                make.centerX.DressSocialize_equalTo(0);
                make.width.DressSocialize_equalTo(275);
                make.height.DressSocialize_equalTo(50);
                make.bottom.DressSocialize_equalTo(-([DressSocialize_AppManager DressSocialize_TabbarBar_Safe_Height]+10));
            }];
        }
    }
}


{
    {
        NSString * DressSocialize_temp_1 = @"DressSocialize_textF_content";
        if([DressSocialize_temp_1 isEqualToString:@"UITextField"]) {
            UITextField * DressSocialize_textF_content = [[UITextField alloc] init];
            NSInteger DressSocialize_text_length  = 600;
            UITextRange *DressSocialize_selectedRange = [DressSocialize_textF_content markedTextRange];
            // 获取高亮部分 中文联想
            UITextPosition *DressSocialize_posi = [DressSocialize_textF_content positionFromPosition:DressSocialize_selectedRange.start offset:0];
            // 如果在变化中是高亮部分在变，就不要计算字符
            // 实际总长度
            NSInteger DressSocialize_realLength = DressSocialize_textF_content.text.length;
            UITextPosition *DressSocialize_beginning = DressSocialize_textF_content.beginningOfDocument;
            UITextRange *DressSocialize_selectRange = DressSocialize_textF_content.selectedTextRange;
            UITextPosition *DressSocialize_selectionStart = DressSocialize_selectRange.start;
            // 获取光标的位置
            NSInteger DressSocialize_location = [DressSocialize_textF_content offsetFromPosition:DressSocialize_beginning toPosition:DressSocialize_selectionStart];
            // 获取光标后的文本
            NSString *DressSocialize_tailText = [DressSocialize_textF_content.text substringFromIndex:DressSocialize_location];
            // 光标前允许输入的最大数量
            NSInteger DressSocialize_restLength = DressSocialize_text_length - DressSocialize_tailText.length;
            NSLog(@"%@ %ld %ld",DressSocialize_posi,(long)DressSocialize_realLength,(long)DressSocialize_restLength);

        }
    }
}
